/* pages/submit-order/submit-order.wxss */

page {
    background: #f4f4f4;
}

/* 收货地址 */

.submit-order {
    margin-bottom: 100 rpx;
    padding-bottom: 160 rpx;
}

.submit-order .delivery-addr {
    position: relative;
    background: #fff;
}

.delivery-addr .addr-bg .add-addr .plus-sign {
    color: #eb2444;
    border: 2 rpx solid #eb2444;
    padding: 0 rpx 6 rpx;
    margin-right: 10 rpx;
}

.delivery-addr .addr-bg {
    padding: 0 30 rpx;
}

.delivery-addr .addr-bg.whole {
    padding: 0 39 rpx 0 77 rpx;
}

.delivery-addr .addr-bg .add-addr {
    font-size: 28 rpx;
    color: #666;
    display: flex;
    align-items: center;
    padding: 30 rpx 0;
}

.submit-order .delivery-addr .addr-icon {
    width: 32 rpx;
    height: 32 rpx;
    display: block;
    position: absolute;
    left: 30 rpx;
    top: 24 rpx;
}

.submit-order .delivery-addr .addr-icon image {
    width: 100%;
    height: 100%;
}

.submit-order .delivery-addr .user-info {
    padding-top: 20 rpx;
    line-height: 48 rpx;
    word-wrap: break-word;
    word-break: break-all;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

.submit-order .delivery-addr .user-info .item {
    font-size: 30 rpx;
    margin-right: 30 rpx;
    vertical-align: top;
    display: inline-block;
}

.submit-order .delivery-addr .addr {
    font-size: 26 rpx;
    line-height: 36 rpx;
    color: #999;
    width: 90%;
    padding-bottom: 20 rpx;
    margin-top: 15 rpx;
    word-wrap: break-word;
}

.submit-order .delivery-addr .arrow {
    width: 15 rpx;
    height: 15 rpx;
    border-top: 2 rpx solid #777;
    border-right: 2 rpx solid #777;
    transform: rotate(45deg);
    position: absolute;
    right: 30 rpx;
    top: 60 rpx;
}

.submit-order .delivery-addr .arrow.empty {
    top: 39 rpx;
}

.addr-bg .add-addr .plus-sign-img {
    width: 32 rpx;
    height: 32 rpx;
    font-size: 0;
    margin-right: 10 rpx;
}

.addr-bg .add-addr .plus-sign-img image {
    width: 100%;
    height: 100%;
}

/* 商品列表 */

.prod-item {
    background-color: #fff;
    margin-top: 15 rpx;
    font-size: 28 rpx;
}

.prod-item .item-cont .prod-pic image {
    width: 180 rpx;
    height: 180 rpx;
}

.prod-item .order-num {
    padding: 20 rpx 30 rpx;
    display: flex;
    justify-content: space-between;
    font-size: 28 rpx;
}

.order-state {
    display: flex;
    align-items: center;
}

.prod-item .item-cont {
    display: flex;
    align-items: center;
    padding: 30 rpx;
    border-bottom: 2 rpx solid #f1f1f1;
}

.prod-item .order-num .clear-btn {
    width: 32 rpx;
    height: 32 rpx;
    font-size: 0;
    vertical-align: top;
    margin-top: 6 rpx;
    margin-left: 42 rpx;
    position: relative;
}

.prod-item .order-num .clear-btn::after {
    content: " ";
    display: block;
    position: absolute;
    left: -10px;
    top: 1px;
    width: 1px;
    height: 12px;
    background: #ddd;
}

.prod-item .order-num .clear-btn .clear-list-btn {
    width: 100%;
    height: 100%;
    vertical-align: middle;
}

.prod-item .item-cont .prod-pic {
    font-size: 0;
    display: block;
    width: 160 rpx;
    height: 160 rpx;
    overflow: hidden;
    background: #fff;
    margin-right: 16 rpx;
}

.prod-item .item-cont .prod-pic image {
    width: 100%;
    height: 100%;
}

.prod-item .item-cont .prod-info {
    margin-left: 10 rpx;
    font-size: 28 rpx;
    width: 100%;
    position: relative;
    height: 160 rpx;
    -webkit-flex: 1;
    -ms-flex: 1;
    -webkit-box-flex: 1;
    -moz-box-flex: 1;
    flex: 1;
}

.prod-item .item-cont .prod-info .prodname {
    font-size: 28 rpx;
    line-height: 40 rpx;
    max-height: 86 rpx;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    word-break: break-all;
}

.prod-item .item-cont .prod-info .prod-info-cont {
    color: #999;
    line-height: 40 rpx;
    margin-top: 10 rpx;
    font-size: 22 rpx;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    word-break: break-all;
}

.prod-item .total-num {
    text-align: right;
    padding: 20 rpx 30 rpx;
    font-size: 28 rpx;
}

.prod-item .price-nums .prodprice {
    position: absolute;
    bottom: 0;
}

.prod-item .price-nums .prodcount {
    position: absolute;
    bottom: 5 rpx;
    right: 0;
    color: #999;
    font-family: verdana;
}

.prod-item .total-num .prodprice {
    display: inline-block;
    color: #333;
}

.prod-item .total-num .prodcount {
    margin-right: 20 rpx;
}

/*
订单信息 */

.order-msg {
    background: #fff;
    margin-top: 15 rpx;
    padding: 0 30 rpx;
    font-size: 28 rpx;
}

.order-msg .msg-item {
    border-top: 2 rpx solid #f1f1f1;
}

.order-msg .msg-item:first-child {
    border: 0;
}

.order-msg .msg-item .item {
    position: relative;
    display: flex;
    padding: 16 rpx 0;
    align-items: center;
}

.order-msg .msg-item .item.payment {
    border-top: 2 rpx solid #f1f1f1;
    color: #eb2444;
}

.order-msg .msg-item .item .item-tit {
    line-height: 48 rpx;
}

.order-msg .msg-item .item .item-txt {
    -webkit-box-flex: 1;
    -moz-box-flex: 1;
    flex: 1;
    font-family: arial;
    max-height: 48 rpx;
    overflow: hidden;
    line-height: 48 rpx;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    word-break: break-all;
}

.order-msg .msg-item .item .item-txt.price {
    padding: 0;
}

.order-msg .msg-item .item.coupon {
    border-bottom: 2 rpx solid #e1e1e1;
}

.order-msg .msg-item .item input {
    flex: 1;
}

.order-msg .msg-item .item .coupon-btn {
    display: block;
    margin: 0 30 rpx;
    line-height: 28 rpx;
    color: #999;
}

.order-msg .msg-item .item .item-txt.price {
    text-align: right;
}

.order-msg .msg-item .item .arrow {
    width: 15 rpx;
    height: 15 rpx;
    border-top: 2 rpx solid #999;
    border-right: 2 rpx solid #999;
    transform: rotate(45deg);
    position: absolute;
    right: 0 rpx;
}

/* 底部栏 */

.submit-order-footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    max-width: 750 rpx;
    background: #fff;
    margin: auto;
    display: -webkit-flex;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    font-size: 26 rpx;
    box-shadow: 0 -1px 3px rgba(0, 0, 0, 0.05);
}

.submit-order-footer .sub-order {
    flex: 1;
    margin: 0 30 rpx;
    line-height: 100 rpx;
    display: block;
    text-align: left;
    font-size: 28 rpx;
}

.submit-order-footer .footer-box {
    padding: 0 10 rpx;
    width: 200 rpx;
    background: #eb2444;
    text-align: center;
    line-height: 100 rpx;
    color: #fff;
}

.submit-order-footer .sub-order .item-txt .price {
    display: inline;
    color: #eb2444;
    font-size: 28 rpx;
}

.clearfix:after {
    content: " ";
    display: table;
    clear: both;
}

/** 优惠券弹窗 **/

.popup-hide {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background-color: rgba(0, 0, 0, 0.3);
}

.popup-box {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 80%;
    overflow: hidden;
    background-color: #fff;
}

.popup-tit {
    position: relative;
    height: 46px;
    line-height: 46px;
    padding-left: 10px;
    font-size: 16px;
    color: #333;
    font-weight: bold;
}

.close {
    color: #aaa;
    border-radius: 12px;
    line-height: 20px;
    text-align: center;
    height: 20px;
    width: 20px;
    font-size: 18px;
    padding: 1px;
    top: 10px;
    right: 10px;
    position: absolute;
}

.close::before {
    content: "\2716";
}

.coupon-tabs {
    display: flex;
    font-size: 14px;
    justify-content: space-around;
    border-bottom: 1px solid #f2f2f2;
}

.coupon-tab {
    padding: 10px 0;
}

.coupon-tab.on {
    border-bottom: 2px solid #eb2444;
    font-weight: 600;
}

.popup-cnt {
    height: calc(100% - 88px);
    overflow: auto;
    padding: 0 10px;
    background: #f4f4f4;
}

.coupon-ok {
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 60px;
    line-height: 50px;
    font-size: 14px;
    text-align: center;
    box-shadow: 0px -1px 1px #ddd;
    background: rgba(255, 255, 255, 0.9);
}

.coupon-ok text {
    border-radius: 20px;
    display: inline-block;
    height: 20px;
    line-height: 20px;
    width: 450 rpx;
    padding: 7px;
    background: -o-linear-gradient(right, #f45c43, #eb2444);
    background: linear-gradient(right, #f45c43, #eb2444);
    background: -webkit-linear-gradient(right, #f45c43, #eb2444);
    color: #fff;
    box-shadow: -1px 3px 3px #aaa;
}

.botm-empty {
    height: 60px;
}

/*checkbox 选项框大小  */

checkbox .wx-checkbox-input {
    border-radius: 50%;
    width: 35 rpx;
    height: 35 rpx;
}

/*checkbox选中后样式  */

checkbox .wx-checkbox-input.wx-checkbox-input-checked {
    background: #eb2444;
    border-color: #eb2444;
}

/*checkbox选中后图标样式  */

checkbox .wx-checkbox-input.wx-checkbox-input-checked::before {
    text-align: center;
    font-size: 22 rpx;
    color: #fff;
    background: transparent;
    transform: translate(-50%, -50%) scale(1);
    -webkit-transform: translate(-50%, -50%) scale(1);
}
